home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt11.dir / 00024_Script_24 < prev    next >
Text File  |  1994-11-15  |  5KB  |  202 lines

  1. on startMovie
  2.   global inFrame, nowFrame, currMM
  3.   global dialogOn, nextLT, prevLT
  4.   cursor 4
  5.   set prevLT = "FLWLT10"
  6.   set nextLT = "FLWLT12"
  7.   set dialogOn = FALSE
  8.   set currMM = "FLWMM"
  9.   set nowFrame = "ltexo911000°°°"
  10.   set inFrame = ""
  11.   puppetsprite 9, TRUE
  12.   puppetSprite 11, TRUE
  13.   puppetSprite 12, TRUE
  14.   set the immediate of sprite 11 to TRUE
  15.   set the immediate of sprite 12 to TRUE
  16.   puppetSprite 20, TRUE
  17.   puppetSprite 21, TRUE
  18.   puppetSprite 22, TRUE
  19.   puppetSprite 23, TRUE
  20.   set the immediate of sprite 20 to TRUE
  21.   set the immediate of sprite 23 to TRUE
  22. end startMovie
  23.  
  24. on stepMovie
  25.   global nowFrame,currFrame
  26.   if nowFrame <> currFrame then
  27.     seeAlsoList
  28.     set currFrame = nowFrame
  29.   end if
  30. end stepMovie
  31.  
  32. on stopMovie
  33.   put " " into field "seeAlsoText"
  34.   set the castNum of sprite 21 to 1050
  35.   puppetSprite 21, FALSE
  36.   updateStage
  37. end stopMovie
  38.  
  39. on saveLocals
  40.   global lastFrame, nowFrame, lastMovie, origLocH
  41.   set lastMovie = the movie
  42.   set lastFrame = nowFrame
  43. end saveLocals
  44.  
  45. on ltForStep
  46.   global inFrame, nextLT, ltQT
  47.   puppetSprite 4, FALSE
  48.   set inFrame = ""
  49.   set ltQT = FALSE
  50.   if the frame = 12 then
  51.     go to frame "ltexo915001°°°" of movie nextLT
  52.   else
  53.     go to marker (+1)
  54.     updateStage
  55.   end if
  56. end ltForStep
  57.  
  58. on ltBackStep
  59.   global inFrame, prevLT, ltQT
  60.   puppetSprite 4, FALSE
  61.   set inFrame = ""
  62.   set ltQT = FALSE
  63.   if the frame < 5 then
  64.     go to frame "ltpra907003°°°" of movie prevLT
  65.   else
  66.     go to marker (-1)
  67.     updateStage
  68.   end if
  69. end ltBackStep
  70.  
  71. on checkNav
  72.   if rollover(12) then
  73.     set the castNum of sprite 12 to the number of cast "leftUp"
  74.   else
  75.     set the castNum of sprite 12 to the number of cast "leftRt"
  76.   end if
  77.   
  78.   if rollover(11) then
  79.     set the castNum of sprite 11 to the number of cast "rightUp"
  80.   else
  81.     set the castNum of sprite 11 to the number of cast "rightRt"
  82.   end if
  83.   cursor -1
  84.   updateStage
  85. end checkNav
  86.  
  87. on buttonState
  88.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  89.   
  90.   if dialogOn = FALSE then
  91.     
  92.     --sticking local call here for convenience
  93.     worldLite
  94.     if the mouseV > 200 or bFlag = TRUE then
  95.       set bFlag = FALSE
  96.       doState
  97.     end if
  98.   end if
  99. end buttonState
  100.  
  101. on scrollRight
  102.   if the clickon = 11 then
  103.     sound stop 1
  104.     startTimer
  105.     repeat while the timer < 2
  106.       set the castNum of sprite 11 to the number of cast "rightDn"
  107.       updateStage
  108.     end repeat
  109.     timeRight
  110.     flush
  111.   end if   
  112. end scrollRight
  113.  
  114. on scrollLeft
  115.   if the clickon = 12 then
  116.     sound stop 1
  117.     startTimer
  118.     repeat while the timer < 2
  119.       set the castNum of sprite 12 to the number of cast "leftDn"
  120.       updateStage
  121.     end repeat
  122.     timeLeft
  123.     flush
  124.   end if  
  125. end scrollLeft
  126.  
  127. on timeLeft
  128.   global prevLt
  129.   go to movie prevLT
  130. end timeLeft
  131.  
  132. on timeRight
  133.   global nextLt
  134.   go to movie nextLT
  135. end timeRight
  136.  
  137. on worldLite
  138.   set the castNum of sprite 9 to 2
  139.   if rollover(9) then
  140.     set the castNum of sprite 9 to 23
  141.   end if
  142. end worldLite
  143.  
  144. on rollVLB11
  145.   if the mouseH > 168 and the mouseH < 323 and the mouseV > 164 and the mouseV < 225 then
  146.     set the castNum of sprite 4 to 11
  147.     if the mouseDown then 
  148.       set the castNum of sprite 4 to 4
  149.     end if
  150.   else if the mouseH > 203 and the mouseH < 346 and the mouseV > 75 and the mouseV < 162 then
  151.     set the castNum of sprite 4 to 12
  152.     if the mouseDown then 
  153.       set the castNum of sprite 4 to 4
  154.     end if
  155.   else if the mouseH > 349 and the mouseH < 490 and the mouseV > 135 and the mouseV < 216 then
  156.     set the castNum of sprite 4 to 13
  157.     if the mouseDown then 
  158.       set the castNum of sprite 4 to 4
  159.     end if
  160.   else if the mouseH > 502 and the mouseH < 532 and the mouseV > 87 and the mouseV < 225 then
  161.     set the castNum of sprite 4 to 14
  162.     if the mouseDown then 
  163.       set the castNum of sprite 4 to 4
  164.     end if
  165.   else if the mouseH > 539 and the mouseH < 618 and the mouseV > 75 and the mouseV < 182 then
  166.     set the castNum of sprite 4 to 15
  167.     if the mouseDown then 
  168.       set the castNum of sprite 4 to 4
  169.     end if
  170.   else 
  171.     set the castNum of sprite 4 to 4
  172.   end if
  173.   updateStage
  174. end rollVLB11
  175.  
  176. on jumpVLB11
  177.   global dialogOn
  178.   if dialogOn = FALSE then
  179.     sound stop 1
  180.     if the clickOn < 7 or the clickOn > 23 then
  181.       if the mouseH > 168 and the mouseH < 323 and the mouseV > 164 and the mouseV < 225 then
  182.         puppetSprite 4, FALSE
  183.         go to frame "ltexo911001°°°"
  184.       else if the mouseH > 203 and the mouseH < 346 and the mouseV > 75 and the mouseV < 162 then
  185.         puppetSprite 4, FALSE
  186.         go to frame "ltexo911002°°°"
  187.       else if the mouseH > 349 and the mouseH < 490 and the mouseV > 135 and the mouseV < 216 then
  188.         puppetSprite 4, FALSE
  189.         go to frame "ltexo911003°°°"
  190.       else if the mouseH > 502 and the mouseH < 532 and the mouseV > 87 and the mouseV < 225 then
  191.         puppetSprite 4, FALSE
  192.         go to frame "ltexo911004°°°"
  193.       else if the mouseH > 539 and the mouseH < 618 and the mouseV > 75 and the mouseV < 182 then
  194.         puppetSprite 4, FALSE
  195.         go to frame "ltexo911005°°°"
  196.       else 
  197.         nothing
  198.       end if
  199.     end if
  200.   end if
  201.   flush
  202. end jumpVLB11